package com.cj.ctyl.entity;


import java.util.Date;
import java.util.List;

public class SysUsers {

  private long id;
  private long departmentId;
  private long userType;
  private String headUrl;
  private String account;
  private String userName;
  private String password;
  private String salt;
  private Date createdTime;
  private Date updatedTime;
  private long createdUserId;

  /**
   * 用户角色
   */
  private List<SysRoles> sysRolesList;

  /**
   * 用户菜单
   */
  private List<SysMenus> sysMenusList;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getDepartmentId() {
    return departmentId;
  }

  public void setDepartmentId(long departmentId) {
    this.departmentId = departmentId;
  }


  public long getUserType() {
    return userType;
  }

  public void setUserType(long userType) {
    this.userType = userType;
  }


  public String getHeadUrl() {
    return headUrl;
  }

  public void setHeadUrl(String headUrl) {
    this.headUrl = headUrl;
  }


  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getSalt() {
    return salt;
  }

  public void setSalt(String salt) {
    this.salt = salt;
  }


  public Date getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(java.sql.Timestamp createdTime) {
    this.createdTime = createdTime;
  }


  public Date getUpdatedTime() {
    return updatedTime;
  }

  public void setUpdatedTime(java.sql.Timestamp updatedTime) {
    this.updatedTime = updatedTime;
  }


  public long getCreatedUserId() {
    return createdUserId;
  }

  public void setCreatedUserId(long createdUserId) {
    this.createdUserId = createdUserId;
  }

  public void setCreatedTime(Date createdTime) {
    this.createdTime = createdTime;
  }

  public void setUpdatedTime(Date updatedTime) {
    this.updatedTime = updatedTime;
  }

  public List<SysRoles> getSysRolesList() {
    return sysRolesList;
  }

  public void setSysRolesList(List<SysRoles> sysRolesList) {
    this.sysRolesList = sysRolesList;
  }

  public List<SysMenus> getSysMenusList() {
    return sysMenusList;
  }

  public void setSysMenusList(List<SysMenus> sysMenusList) {
    this.sysMenusList = sysMenusList;
  }
}
